* lisp.h (SAFE_ALLOCA_LISP): Check for integer overflow.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 19:54:32 +0000 (12:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 19:54:32 +0000 (12:54 -0700)
commitb37538435f541b5701150852e584855f569edb31
treedf83ef1e769bc8e3214abcecfb97b467a201c496
parentb399ad340e91ea845cb277bfb041294e906df929
* lisp.h (SAFE_ALLOCA_LISP): Check for integer overflow.

(struct Lisp_Save_Value): Use ptrdiff_t, not int, for 'integer' member.
* alloc.c (make_save_value): Integer argument is now of type
ptrdiff_t, not int.
(mark_object): Use ptrdiff_t, not int.
* lisp.h (pD): New macro.
* print.c (print_object): Use it.
src/ChangeLog
src/alloc.c
src/lisp.h
src/print.c